package com.erlinyou.im.model.groupmove;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

import com.erlinyou.im.model.base.AbstractDO;

@Entity
@Table(name="ofhistorymessage")
public class Ofhistorymessage extends AbstractDO{

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;

	@Id
	private long hmid;
	
	private String hmfrom;
	
	private String hmto;
	
	private long hmcreatetime;
	
	private int hmlen;
	
	@Column(columnDefinition="text")
	private String hmcontent;
	
	@Column(columnDefinition="blob")
	private String hmcontentblob;
	
	private int hmifdestory;
	
	private String hmgid;
	
	private String hmmsgid;
	
	private String hmclientmsgid;
	
	private String hmtype;
	
	private String properties;

	public long getHmid() {
		return hmid;
	}

	public void setHmid(long hmid) {
		this.hmid = hmid;
	}

	public String getHmfrom() {
		return hmfrom;
	}

	public void setHmfrom(String hmfrom) {
		this.hmfrom = hmfrom;
	}

	public String getHmto() {
		return hmto;
	}

	public void setHmto(String hmto) {
		this.hmto = hmto;
	}

	public long getHmcreatetime() {
		return hmcreatetime;
	}

	public void setHmcreatetime(long hmcreatetime) {
		this.hmcreatetime = hmcreatetime;
	}

	public int getHmlen() {
		return hmlen;
	}

	public void setHmlen(int hmlen) {
		this.hmlen = hmlen;
	}

	public String getHmcontent() {
		return hmcontent;
	}

	public void setHmcontent(String hmcontent) {
		this.hmcontent = hmcontent;
	}

	public String getHmcontentblob() {
		return hmcontentblob;
	}

	public void setHmcontentblob(String hmcontentblob) {
		this.hmcontentblob = hmcontentblob;
	}

	public int getHmifdestory() {
		return hmifdestory;
	}

	public void setHmifdestory(int hmifdestory) {
		this.hmifdestory = hmifdestory;
	}

	public String getHmgid() {
		return hmgid;
	}

	public void setHmgid(String hmgid) {
		this.hmgid = hmgid;
	}

	public String getHmmsgid() {
		return hmmsgid;
	}

	public void setHmmsgid(String hmmsgid) {
		this.hmmsgid = hmmsgid;
	}

	public String getHmclientmsgid() {
		return hmclientmsgid;
	}

	public void setHmclientmsgid(String hmclientmsgid) {
		this.hmclientmsgid = hmclientmsgid;
	}

	public String getHmtype() {
		return hmtype;
	}

	public void setHmtype(String hmtype) {
		this.hmtype = hmtype;
	}

	public String getProperties() {
		return properties;
	}

	public void setProperties(String properties) {
		this.properties = properties;
	}
	
	
	
}
